package com.chuangsi.project.admin.dto.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@Data
public class ReqFileDto {
    @ApiModelProperty("文件流")
    @NotNull(message = "请选择文件")
    private MultipartFile file;

    @ApiModelProperty("缩放比例（>=1 || <=1）")
    private Double proportion;

    //宽
    private Integer width;

    //高
    private  Integer height;

}
